<?php
/**
 * Created by PhpStorm.
 * User: tangchao
 * Date: 19-4-19
 * Time: 下午2:36
 * 魔术方法
 */
define('BASEDIR',__DIR__);

include BASEDIR.'/Lib/Loader.php';

spl_autoload_register('\\Lib\\Loader::autoload');

$obj = new \Lib\ObjectTest();

//$obj->test = 'hello';
//echo $obj->test;

//$obj->testfun('1234');
//\Lib\ObjectTest::testfun('11233');

//echo $obj;

echo $obj('testInvoke');